package com.zhiqianbao.entity;

import com.orm.SugarRecord;

import java.io.Serializable;

/**
 * Created by 子龙 on 2017/9/1.
 */

public class FronBackpiction extends SugarRecord implements Serializable{


    /**
     * code : 0
     * msg : 保存成功！
     * data : {"userInfo":{"id":2108068,"userId":356878359,"name":"刘子龙","idcard":"130923198901083712","idcardProvince":null,"idcardCity":null,"idcardArea":null,"idcardAddress":null,"nativePlace":null,"sex":"男","birthday":600192000000,"age":28,"phone":"15802235193","phoneRegion":"中国移动,天津,天津","address":null,"marriage":null,"marriageName":null,"children":null,"childrenName":null,"qq":null,"email":null,"imei":"864150034733509","imsi":"null","phoneBrand":"Xiaomi","phoneModel":"Redmi 4A","phoneOs":"Android 6.0.1","appVersion":"1.1.5","score":null,"lifeRadius":null,"lifeRadiusName":null,"idcardPhoto":"https://v1-sdk.zhenxinsafe.com:9527/zxsdk/idcard/img?appId=11037e451d944603a04ef1ca4ff8cbd4&imgId=49e964fa3ec94fe4967e8198db4442f2&type=2&_ts=1504497212793","user":{"id":356878359,"phone":"15802235193","password":"ab54225f38ee0127aa6d7bc66a70ee90","name":null,"state":"1","infoState":null,"registTime":1503287167000,"creditRatingId":null,"channelId":null,"deviceType":null,"rejectTimes":null,"auditState":"3","marketState":null,"jobState":null,"emergencyContactState":null,"taobaoState":null,"zhimaState":null,"telecomState":null,"identityState":null,"shareCode":null,"token":null},"channelCode":"y001","channelStr":"应用宝","notInfoStates":null,"idcardAuthen":null,"contract":null,"amount":null,"expireRepay":null,"recentRepay":null,"idcardFaceCertConfidence":null,"attachmentId":null,"totalBalance":null,"infoView":null,"isSync":null,"classification":null,"hackAuthen":null,"recommendCode":null,"recommendMsg":null,"remark":null,"applyScore":null,"applyClass":null,"handmade":null,"suspicious":null,"currentQuota":null,"xshdBlack":null},"idPhoto":{"id":293993,"userId":356878359,"idcard":null,"idcardFront":"M00/00/17/wKgBbFmsz8SAAN0AAAAAct7bMvo086.jpg","idcardBack":"M00/00/17/wKgBbFmsz8SASesqAAAAckIBkwM984.jpg","idcardHand":"M00/00/17/wKgBbFmsz8SAHWYoAAAAa5evH4I286.jpg","createTime":1504497596736,"state":"1","mobileIdCardHand":"sss","mobileIdCardFront":"sss","mobileIdCardBack":"sss","user":{"id":356878359,"phone":"15802235193","password":"ab54225f38ee0127aa6d7bc66a70ee90","name":null,"state":"1","infoState":null,"registTime":null,"creditRatingId":null,"channelId":null,"deviceType":null,"rejectTimes":null,"auditState":null,"marketState":null,"jobState":null,"emergencyContactState":null,"taobaoState":null,"zhimaState":null,"telecomState":null,"identityState":null,"shareCode":null,"token":null},"photoAuthen":null,"cardHandUrl":"http://192.168.1.108/group1/M00/00/17/wKgBbFmsz8SAHWYoAAAAa5evH4I286.jpg","cardBackUrl":"http://192.168.1.108/group1/M00/00/17/wKgBbFmsz8SASesqAAAAckIBkwM984.jpg","cardFrontUrl":"http://192.168.1.108/group1/M00/00/17/wKgBbFmsz8SAAN0AAAAAct7bMvo086.jpg","handAttachmentId":1023884,"backAttachmentId":1023886,"frontAttachmentId":1023885,"handAttachment":null,"backAttachment":null,"frontAttachment":null,"isSync":null},"user":{"id":356878359,"phone":"15802235193","password":"ab54225f38ee0127aa6d7bc66a70ee90","name":null,"state":"1","infoState":null,"registTime":1503287167000,"creditRatingId":1,"channelId":"4594939052426382340","deviceType":3,"rejectTimes":null,"auditState":"3","marketState":"0","jobState":"0","emergencyContactState":"0","taobaoState":"0","zhimaState":"0","telecomState":"0","identityState":"2","shareCode":null,"token":"cae7b164628744fe94cbccee344c2ce3"}}
     */

    private String code;
    private String msg;
    private DataBean data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public  class DataBean {
        /**
         * userInfo : {"id":2108068,"userId":356878359,"name":"刘子龙","idcard":"130923198901083712","idcardProvince":null,"idcardCity":null,"idcardArea":null,"idcardAddress":null,"nativePlace":null,"sex":"男","birthday":600192000000,"age":28,"phone":"15802235193","phoneRegion":"中国移动,天津,天津","address":null,"marriage":null,"marriageName":null,"children":null,"childrenName":null,"qq":null,"email":null,"imei":"864150034733509","imsi":"null","phoneBrand":"Xiaomi","phoneModel":"Redmi 4A","phoneOs":"Android 6.0.1","appVersion":"1.1.5","score":null,"lifeRadius":null,"lifeRadiusName":null,"idcardPhoto":"https://v1-sdk.zhenxinsafe.com:9527/zxsdk/idcard/img?appId=11037e451d944603a04ef1ca4ff8cbd4&imgId=49e964fa3ec94fe4967e8198db4442f2&type=2&_ts=1504497212793","user":{"id":356878359,"phone":"15802235193","password":"ab54225f38ee0127aa6d7bc66a70ee90","name":null,"state":"1","infoState":null,"registTime":1503287167000,"creditRatingId":null,"channelId":null,"deviceType":null,"rejectTimes":null,"auditState":"3","marketState":null,"jobState":null,"emergencyContactState":null,"taobaoState":null,"zhimaState":null,"telecomState":null,"identityState":null,"shareCode":null,"token":null},"channelCode":"y001","channelStr":"应用宝","notInfoStates":null,"idcardAuthen":null,"contract":null,"amount":null,"expireRepay":null,"recentRepay":null,"idcardFaceCertConfidence":null,"attachmentId":null,"totalBalance":null,"infoView":null,"isSync":null,"classification":null,"hackAuthen":null,"recommendCode":null,"recommendMsg":null,"remark":null,"applyScore":null,"applyClass":null,"handmade":null,"suspicious":null,"currentQuota":null,"xshdBlack":null}
         * idPhoto : {"id":293993,"userId":356878359,"idcard":null,"idcardFront":"M00/00/17/wKgBbFmsz8SAAN0AAAAAct7bMvo086.jpg","idcardBack":"M00/00/17/wKgBbFmsz8SASesqAAAAckIBkwM984.jpg","idcardHand":"M00/00/17/wKgBbFmsz8SAHWYoAAAAa5evH4I286.jpg","createTime":1504497596736,"state":"1","mobileIdCardHand":"sss","mobileIdCardFront":"sss","mobileIdCardBack":"sss","user":{"id":356878359,"phone":"15802235193","password":"ab54225f38ee0127aa6d7bc66a70ee90","name":null,"state":"1","infoState":null,"registTime":null,"creditRatingId":null,"channelId":null,"deviceType":null,"rejectTimes":null,"auditState":null,"marketState":null,"jobState":null,"emergencyContactState":null,"taobaoState":null,"zhimaState":null,"telecomState":null,"identityState":null,"shareCode":null,"token":null},"photoAuthen":null,"cardHandUrl":"http://192.168.1.108/group1/M00/00/17/wKgBbFmsz8SAHWYoAAAAa5evH4I286.jpg","cardBackUrl":"http://192.168.1.108/group1/M00/00/17/wKgBbFmsz8SASesqAAAAckIBkwM984.jpg","cardFrontUrl":"http://192.168.1.108/group1/M00/00/17/wKgBbFmsz8SAAN0AAAAAct7bMvo086.jpg","handAttachmentId":1023884,"backAttachmentId":1023886,"frontAttachmentId":1023885,"handAttachment":null,"backAttachment":null,"frontAttachment":null,"isSync":null}
         * user : {"id":356878359,"phone":"15802235193","password":"ab54225f38ee0127aa6d7bc66a70ee90","name":null,"state":"1","infoState":null,"registTime":1503287167000,"creditRatingId":1,"channelId":"4594939052426382340","deviceType":3,"rejectTimes":null,"auditState":"3","marketState":"0","jobState":"0","emergencyContactState":"0","taobaoState":"0","zhimaState":"0","telecomState":"0","identityState":"2","shareCode":null,"token":"cae7b164628744fe94cbccee344c2ce3"}
         */

        private UserInfo userInfo;
        private UserIdphoto idPhoto;
        private User user;

        public UserInfo getUserInfo() {
            return userInfo;
        }

        public void setUserInfo(UserInfo userInfo) {
            this.userInfo = userInfo;
        }

        public UserIdphoto getIdPhoto() {
            return idPhoto;
        }

        public void setIdPhoto(UserIdphoto idPhoto) {
            this.idPhoto = idPhoto;
        }

        public User getUser() {
            return user;
        }

        public void setUser(User user) {
            this.user = user;
        }
    }
}
